package com.linwen.javase.desgin_pattern.BigTalkDesignPattenJAVACode._13适配器模式._2篮球翻译;

//前锋
class Forwards extends Player {
    public Forwards(String name){
        super(name);
    }

    public void attack(){
        System.out.println("前锋 "+this.name+" 进攻");
    }

    public void defense(){
        System.out.println("前锋 "+this.name+" 防守");
    }
}